package banking;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-09-27
 * Time:22:18
 */
public class Customer {
    //a
    private String firstName;
    private String lastName;
    private Account account;
    //b
    public Customer(String firstName, String lastName) {
        this.firstName = firstName;
        this.lastName = lastName;
    }
    //c
    public String getFirstName() {
        return firstName;
    }
    //c
    public String getLastName() {
        return lastName;
    }
    //d
    public void setAccount(Account account) {
        this.account = account;
    }
    //e
    public Account getAccount() {
        return account;
    }
}
